package com.xintai.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 单据编号规则对象 pub_coderule
 * 
 * @author xintai
 * @date 2021-01-09
 */
public class PubCoderule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long crId;

    /** 编号规格名称 */
    @Excel(name = "编号规格名称")
    private String crName;

    /** 表名称 */
    @Excel(name = "表名称")
    private String crTablename;

    /** 表列名称 */
    @Excel(name = "表列名称")
    private String crColumnname;

    /** 规则 */
    @Excel(name = "规则")
    private String crRule;

    /** 说明 */
    @Excel(name = "说明")
    private String crRemark;

    public void setCrId(Long crId) 
    {
        this.crId = crId;
    }

    public Long getCrId() 
    {
        return crId;
    }
    public void setCrName(String crName) 
    {
        this.crName = crName;
    }

    public String getCrName() 
    {
        return crName;
    }
    public void setCrTablename(String crTablename) 
    {
        this.crTablename = crTablename;
    }

    public String getCrTablename() 
    {
        return crTablename;
    }
    public void setCrColumnname(String crColumnname) 
    {
        this.crColumnname = crColumnname;
    }

    public String getCrColumnname() 
    {
        return crColumnname;
    }
    public void setCrRule(String crRule) 
    {
        this.crRule = crRule;
    }

    public String getCrRule() 
    {
        return crRule;
    }
    public void setCrRemark(String crRemark) 
    {
        this.crRemark = crRemark;
    }

    public String getCrRemark() 
    {
        return crRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("crId", getCrId())
            .append("crName", getCrName())
            .append("crTablename", getCrTablename())
            .append("crColumnname", getCrColumnname())
            .append("crRule", getCrRule())
            .append("crRemark", getCrRemark())
            .toString();
    }
}
